//
//  BuildingAnnotation.h
//  projecthz
//
//  Created by tali on 16/8/10.
//  Copyright © 2016年 tali. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>

@interface BuildingAnnotation : NSObject<MKAnnotation>

//显示标注的经纬度
@property (nonatomic,readonly) CLLocationCoordinate2D coordinate;
//标注的标题
@property (nonatomic,copy,readonly) NSString * title;
//标注的子标题
@property (nonatomic,copy,readonly) NSString * subtitle;

@property (nonatomic,copy,readonly) MKMapItem *mapItem;

-(id)initWithCoordinates:(CLLocationCoordinate2D)paramCoordinates title:(NSString *)paramTitle subTitle:(NSString *)paramTitle;

-(id)initWithMapItem:(MKMapItem *)item;

@end
